package com.leadingsoft.pwxk.services.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.leadingsoft.pwxk.model.AuditCert;
import com.leadingsoft.pwxk.repository.AuditCertRepository;
import com.leadingsoft.pwxk.services.AbstractService;

@Service
public class AuditCertServiceImpl extends AbstractService<AuditCert> {

	@Autowired
	AuditCertRepository auditCertRepository;

	@Override
	public void saveAll(List<AuditCert> models) {
		auditCertRepository.saveAll(models);
	}

	@Override
	public void deleteAll() {
		auditCertRepository.deleteAll();
	}

	@Override
	public void save(AuditCert model) {
		auditCertRepository.save(model);
	}

}
